#ifndef __BALANCE_H
#define __BALANCE_H
#include "stm32f10x.h"

typedef struct balance
{
	float spd_ref;
	float spd_get;
	short gro_spd;
	float upr_ref;
	float upr_get;
	int16_t turn_ref;
	short turn_get;
	
	float Med;
}balance_t;

void balance_calc(void);

#endif


